package org.van.carfimodulesfinancial.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.van.carfimodulesfinancial.model.UserDomain;

@Mapper
public interface UserDao {
    UserDomain getUserInfoByCond(@Param("useraccount") String useraccount, @Param("password") String password);

    UserDomain getUserInfoById(Integer uid);
    UserDomain getUserBriefInfoById(Integer uid);

    void saveUserInfo(UserDomain user);
    UserDomain getUserInfoByUacc(String useraccount);
}
